package anonymouschat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class NickList implements Serializable{

	/**
     * 
     */
    private static final long serialVersionUID = 1L;

    private List<String> userIDList;

    private List<String> nickNameList;

	/**
	 * Default Constructor Construct NickList by local file
	 */
	public NickList() {
		userIDList = new ArrayList<String>();
		nickNameList = new ArrayList<String>();
	}
	public int size() {
		if (userIDList.size() == nickNameList.size())
			return userIDList.size();
		else {
			return 0;
		}
	}

	public List<String> getNickNameList() {
		return nickNameList;
	}
	public List<String> getUserIDList() {
        return userIDList;
    }
}
